package com.data.ferry;

import com.data.ferry.common.config.ConstantConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;


@SpringBootApplication
@EnableSwagger2
@MapperScan("com.data.ferry.dao")
@EnableDiscoveryClient
@EnableConfigurationProperties(ConstantConfig.class)
public class DataferryWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataferryWebApplication.class, args);
        System.out.println("启动成功....");
    }

}
